{{template "admin/public/head.html" .}}
<section>
	<aside>
		{{template "admin/public/nav.html" .}}
	</aside>
		<article>
			<div class="content">
				<div class="instructions">
					<dl>
						<dt>访问明细</dt>
						<dd>
							本系统的会员访问记录。<br>
							在这里您可以看见用户在做什么，看什么用数据去参考顾客的潜力购买意向。
						</dd>
					</dl>
					<!-- <a href="/admin/index/read"><button type="button" class="button">全部明细</button></a> -->
				</div>
				<table class="table">
					<!-- 控制表格宽度  横向合并 colspan="1"  竖向合并 rowspan="3" -->
					<thead><th width="5%">ID</th><th width="10%">头像</th><th width="25%">会员资料</th><th width="50%">访问明细</th></thead>
					{{range .read}}
					<tr>
						<td class="center">{{.id}}</td>
						<td class="center"><a href="/admin/member/content?id={{.uid}}"><img src="{{.member.pathname}}" class="img" onerror="javascript:this.src='/static/img/admin/avatar.jpg'"></a></td>
						<td>
							<b>名字&nbsp;: </b><a href="/admin/member/content?id={{.uid}}" class="tz">{{.member.monicker}}</a><br>
							手机：{{.member.mobile}}<br>
							地区：{{.member.country}} {{.member.province}} {{.member.city}}
						</td>
						<td>
							{{.type}}：<a href="{{.url}}" class="tz">{{.name}}</a><br>
							最新时间：{{.addtime}}<br>
							查看次数：{{.click}}<br>
						</td>
					</tr>
					{{end}}
					{{if ne .paginator.totalpages 1}}
					<tr>
						<td  colspan="5">
							<div class="paging">
								{{if ne .paginator.currpage 1}}
								<a href="{{$.url}}page={{.paginator.firstpage}}">首页</a>
								<a href="{{$.url}}page={{.paginator.prevpage}}">&lt;&lt;</a>
								{{else}}
								<a class="disable">首页</a>
								<a class="disable">&lt;&lt;</a>
								{{end}}
								{{range $index,$page := .paginator.pages}}
								{{if eq $.paginator.currpage $page}} 
								<a class="no">{{$page}}</a>
								{{else}}
								<a href="{{$.url}}page={{$page}}">{{$page}}</a>
								{{end}}
								{{end}}
								{{if eq .paginator.currpage .paginator.totalpages}}
								<a class="disable">&gt;&gt;</a>
								<a class="disable">尾页</a>
								{{else}}
								<a href="{{$.url}}page={{.paginator.nextpage}}">&gt;&gt;</a>
								<a href="{{$.url}}page={{.paginator.totalpages}}">尾页</a>
								{{end}}
							</div>
						</td>
					</tr>
					{{end}}
				</table>
			</div>
			<!-- 系统配置 -->
		</article>
	</section>

	<footer><!-- 系统监控内容 --></footer>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/jquery.jedate.min.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/toast.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/uppic.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/xcConfirm.js"></script>
<script src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/admin/js/app.js"></script>
	<script>
	</script>
</body>
</html>
